// am utiliz clasa pt a modela un ev.
public class TaskEntry implements Entry
{
	
	private String task_name;
	private Date date;
	
	public TaskEntry(String n,Date d)
	{
		this.task_name=n;
		this.date=d;
	}
	
	public Entry copy()
	{
		return new TaskEntry(this.task_name,this.date);
	}
	public String getName()
	{
		return this.task_name;
	}
	public String toString()
	{
		return "Task: "+this.task_name+" "+this.date;
	}

}
